<template>
  <div class="hall_mv">
    <h2>MV</h2>
    <!-- <div class="hall_wrapper">
      <ul class="content">
        <li v-for="item in mvData" :key="item.mvid" @click="selectPlayList(item)">
          <div class="cover_num">
          <img :src="item.picurl" />
          
          </div>
          <span>{{item.title}}</span>
        </li>
      </ul>
    </div> -->
  </div>
</template>

<script>
import axios from "axios";
export default {
  data() {
    return {
      mvData: [],
    };
  },
  created() {
    this.getData();
  },
  methods: {
    getData() {
      axios
        .get("/api/mv/list", "")
        .then((res) => {
          console.log(res.data.data.list);
          this.mvData = res.data.data.list;
          
        })
        .catch((err) => {
          console.error(err);
        });
    },
    selectPlayList(item){
            const id = item.vid
            this.$router.push({
                path:`/mv/${id}`
            })
        },
  },
};
</script>

<style scoped>
</style>